<html lang="en">
<head>
  <meta charset="utf-8" />
  <title>jquery inherit</title>
    <script src="../Common/jquery.1.9.1.js"></script>
    <script src="../Common/jquery-ui.1.10.3.js"></script>
</head>
<body>

<script>

    $.widget("ui.slider2", $.ui.slider, {
        _create: function () {
            alert(this.options.orientation);
        }
    });

    $("<div>").slider2();

</script>

</body>
</html>